/**
 * File Info：com.mys.springboot.controller.system.ErrorController.java
 * Created Date：2017年5月15日 下午2:09:29
 * Created User: mys
 */
package com.mys.springboot.controller.system;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @description 
 * 
 * @author mys
 * @version 1.0
 *
 */
@Controller
@RequestMapping("/error")
public class ErrorController {
	
	@RequestMapping(value = "404")
	public ModelAndView error404() {
		return new ModelAndView("error/404");
	}
	
	@RequestMapping(value = "500")
	public ModelAndView error500() {
		return new ModelAndView("error/404");
	}
}
